home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group99a.txt
/
000091_icon-group-sender _Wed Apr 7 13:00:06 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id MAA24236
for icon-group-addresses; Wed, 7 Apr 1999 12:55:09 -0700 (MST)
Message-Id: <199904071955.MAA24236@baskerville.CS.Arizona.EDU>
From: gep2@terabites.com
Date: Wed, 07 Apr 1999 11:59:21 -0500
Subject: Re: Printing source code and results
To: Vickie.M.Fazio2@ucm.com, icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
> Can you enlighten me on how to print my source code and results.
To at least some degree this will vary depending on the operating system
environment you have.
If you're running on a Windows (and DOS) environment, you can load your Icon
source program into Notepad and print it from there.
You can print output by opening your output file as LPT1 (use that as your
filename). Alternately, if you write your output to a specific disk file, you
can also open that file in Notepad and print it the same way you would your
source code.
Likewise, you can just (from the DOS shell command line) copy your Icon source
program to LPT1 for printing:
copy myprog.icn lpt1
I think you can also 'drag and drop' a text file icon onto a printer icon,
although I personally never do it that way.
If your program writes to standard output, you can also usually print the output
directly by redirecting your program's standard output to the printer:
iconx myprog >lpt1
I hope these help you.
Gordon Peterson
http://www.computek.net/public/gep2/
Support the Anti-SPAM Amendment! Join at http://www.cauce.org/
12/19/98: the day the Conservatives demonstrated their scorn for their
fraudulent sham of representative government. Voters, remember it!